package com.ssh.service;

import java.util.List;

import com.ssh.dao.ISensingInfoDAO;
import com.ssh.model.SensingInfo;

public class SensingInfoService implements ISensingInfoService {
	private ISensingInfoDAO sensingInfoDAO;

	public ISensingInfoDAO getSensingInfoDAO() {
		return sensingInfoDAO;
	}

	public void setSensingInfoDAO(ISensingInfoDAO sensingInfoDAO) {
		this.sensingInfoDAO = sensingInfoDAO;
	}

	@Override
	public List<SensingInfo> findAll() {
		try {
			return sensingInfoDAO.findAll();
		} catch (RuntimeException re) {

			throw re;
		}
	}

}
